SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

CREATE VIEW dbo.vwbResidencias
AS
SELECT     idResidencia as ID,Agente,Desde
FROM         dbo.tb_Residencias





GO
GRANT SELECT ON  [dbo].[vwbResidencias] TO [Juntas]
GRANT SELECT ON  [dbo].[vwbResidencias] TO [SoloVer]
GO
